using Headspring.Training.Core.Model;

namespace Headspring.Training.Core.Services
{
	public class WorkOrderSearchSpecification
	{
		private Employee _assignee;
		private Employee _creator;
		private WorkOrderStatus _status;

		public WorkOrderStatus Status
		{
			get { return _status; }
		}

		public Employee Assignee
		{
			get { return _assignee; }
		}

		public Employee Creator
		{
			get { return _creator; }
		}

		public void MatchStatus(WorkOrderStatus status)
		{
			_status = status;
		}

		public void MatchAssignee(Employee assignee)
		{
			_assignee = assignee;
		}

		public void MatchCreator(Employee creator)
		{
			_creator = creator;
		}
	}
}